package cn.taketoday.live;

/**
 * @author TODAY
 * @date 2020/9/10 11:06
 */
public interface Pageable {

  /**
   * Returns the page to be returned.
   *
   * @return the page to be returned.
   */
  int getCurrent();

  /**
   * Returns the number of items to be returned.
   *
   * @return the number of items of that page
   */
  int getSize();

}
